import * as ngCommon from '@angular/common';
import { Component } from '@angular/core';
import { ModuleWithProviders, NgModule } from '@angular/core';
import { IonicModule } from '@ionic/angular';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { EChartComponent } from './echarts/echarts.component';

@NgModule({
    imports: [
        CommonModule,
        FormsModule,
        IonicModule,
        ngCommon.CommonModule,
    ],
    declarations: [
        EChartComponent
    ],
    exports: [
        EChartComponent
    ],
    providers: [
    ]
})
export class AppCommonModule {
    static forRoot(): ModuleWithProviders {
        return {
            ngModule: AppCommonModule,
            providers: [
            ]
        };
    }
}